#ifndef BASIC_H
#define BASIC_H

#include <QWidget>
#include <QScrollArea>
#include <DFrame>
#include <QLabel>
#include <DLineEdit>
#include <DRadioButton>//选择按钮
#include <DListView>
#include <src/settings/settings.h>
DWIDGET_USE_NAMESPACE
class BasicSettings : public QScrollArea
{
    Q_OBJECT
public:
    explicit BasicSettings(QWidget *parent = nullptr);
    DLineEdit* mainpage_ln;
    DRadioButton* mainpage_search;
    DRadioButton* mainpage_address;
    QVBoxLayout* layout;
    DListView* search_list;
signals:

public slots:
private:
    void initMainPage();
    void initSearch();
    void loadConfig();
};

#endif // BASIC_H
